//发货/退货values
export const DeliveryReturnValues = {
	//发货
	delivery: 1,
	//退货
	return: 2
};

export const DeliveryReturnOptions = [
	{
		label: "发货地址",
		value: DeliveryReturnValues.delivery
	},
	{
		label: "退货地址",
		value: DeliveryReturnValues.return
	}
];

export const TableColumns = [
	{
		title: "联系人",
		dataIndex: "name",
		width: 140
	},
	{
		title: "所在地区",
		dataIndex: "ab",
		width: 160,
		render: (_, record) => `${record?.province ?? ""}${record?.city ?? ""}${record?.county ?? ""}`
	},
	{
		title: "详细地址",
		dataIndex: "address",
		width: 200
	},
	{
		title: "电话号码",
		dataIndex: "company_tel",
		width: 140
	},
	{
		title: "手机号码",
		dataIndex: "mobile",
		width: 140
	},
	{
		title: "公司名称",
		dataIndex: "company",
		width: 180
	}
];
